<template>
    <view :style="themeColor">
        <view class="page" >
    <view class="flex benben-position-layout flex flex-wrap align-center regionalAudit_flex_0"    :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
            <view   class='flex flex-wrap align-center justify-between flex-sub regionalAudit_fd0_0'      >
            <view   class='flex flex-wrap align-center regionalAudit_fd0_0_c0'      >
        </view>
    <view   class='flex flex-wrap align-stretch justify-center'      >
        <text class='regionalAudit_fd0_0_c1_c0'  >审核</text>
</view>
    <view   class='flex flex-wrap align-center justify-end regionalAudit_fd0_0_c0'      >
        </view>
</view>

        </view>
<view :style="{height: (88+StatusBarRpx)+'rpx'}"  ></view>
<!---申请提交flex布局开始-->
 <view class="flex flex-direction flex-wrap align-center benben-flex-layout regionalAudit_flex_1"   v-if= " examineData.status=='1'" >
        <image class='regionalAudit_fd1_0'  mode="aspectFit"  :src='STATIC_URL+"95.png"'></image>
<text class='regionalAudit_fd1_1'  >您的修改服务区域申请已提交成功</text>
<text class='regionalAudit_fd1_2'  >您的申请已提交
3-7个工作日为您反馈审核结果</text>
<button class='regionalAudit_fd1_3'  @tap.stop="handleJumpDiy" data-type="switchTab" :data-url="`/pages/tabBar/mys/mys`"  >返回我的</button>
</view>
        
<!---申请提交flex布局结束-->
<!---审核失败flex布局开始-->
 <view class="flex flex-direction flex-wrap align-center benben-flex-layout regionalAudit_flex_2"   v-if= " examineData.status=='3'" >
        <image class='regionalAudit_fd2_0'  mode="aspectFit"  :src='STATIC_URL+"85.png"'></image>
<text class='regionalAudit_fd2_1'  >您的修改服务区域申请审核失败</text>
    <view   class='regionalAudit_fd2_2'      >
        <text class='regionalAudit_fd2_2_c0'  >失败原因：</text>
<text class='regionalAudit_fd2_2_c0'  >{{examineData.city_reson}}</text>
</view>
<button class='regionalAudit_fd2_3'  @tap.stop="handleJumpDiy" data-type="navigateTo" :data-url="`/pages/login/modifyServiceArea/modifyServiceArea?id=examineData.chinaarea_id`"  >重新提交</button>
</view>
        
<!---审核失败flex布局结束-->
    
    
        </view>
    </view>
</template>
<script>
    import {validate} from '@/common/utils/validate.js'
    
    export default {
        components:{},
        
        
        data(){
			return {"examineData":{"aid":"","service_status":"","status":"","service_reson":"","city_reson":""}};
		},
		computed:{
            themeColor() {
              return this.$store.getters.themeColor
            },
            
		},
		watch:{},
		onLoad(options){
            this.getStatusFunc()
		},
        onUnload() {
                
        },
		onReady(){
            
		},
		onShow(){
            
		},
		onHide(){
            
		},
		onResize(){
            
		},
		onPullDownRefresh(){
            
		},
		onReachBottom(e){
            
		},
		onPageScroll(e){
            
		},
		methods:{
                            //获取审核状态
                async getStatusFunc(){
                        //请求方法
    //数据验证
    
  let dataexamineData = await this.$api.get(global.apiUrls.post6522797bcbce5, {
    
  });
  
  if (dataexamineData.data.code != 1) {
    this.$message.info(dataexamineData.data.msg);
    return
  } 
  let infoexamineData = dataexamineData.data;
  this.examineData = infoexamineData.data
  
                }
		}
    };
</script> 
<style lang="scss" scoped>
           .page{
            width: 100vw;
            overflow-x: hidden;
            min-height: calc(100vh - var(--window-bottom));
            background:#fff;background-size: 100% auto;
        }
    .regionalAudit_flex_0{
        background:#fff;width:750rpx;height:88rpx;overflow:hidden;z-index:10;top:0rpx;background-size:100% auto !important;
    }
    .regionalAudit_fd0_0_c1_c0{
        font-size:36rpx;font-weight:500;color:#333;line-height:88rpx;
    }
    .regionalAudit_fd0_0_c0{
        width:120rpx;
    }
    .regionalAudit_fd0_0{
        padding:0rpx 32rpx 0rpx 32rpx;
    }
    .regionalAudit_flex_1{
        padding:193rpx 39rpx 0rpx 39rpx;
    }
    .regionalAudit_fd1_3{
        border:1px solid #BFBFBF;background:#FFFFFF;border-radius:36rpx 36rpx 36rpx 36rpx;font-size:28rpx;color:rgba(102, 102, 102, 1);width:320rpx;height:72rpx;line-height:72rpx;
    }
    .regionalAudit_fd1_2{
        line-height:43rpx;font-size:28rpx;font-weight:400;color:#666666;text-align:center;margin:0rpx 0rpx 110rpx 0rpx;
    }
    .regionalAudit_fd1_1{
        line-height:45rpx;font-size:32rpx;font-weight:700;color:#000000;margin:0rpx 0rpx 32rpx 0rpx;
    }
    .regionalAudit_fd1_0{
        width:240rpx;height:240rpx;margin:0rpx 0rpx 30rpx 0rpx;
    }
    .regionalAudit_flex_2{
        padding:193rpx 32rpx 0rpx 32rpx;
    }
    .regionalAudit_fd2_3{
        border:1px solid #BFBFBF;background:#FFFFFF;border-radius:36rpx 36rpx 36rpx 36rpx;font-size:28rpx;color:rgba(102, 102, 102, 1);width:320rpx;height:72rpx;line-height:72rpx;
    }
    .regionalAudit_fd2_2_c0{
        font-size:28rpx;font-weight:400;color:#333;line-height:40rpx;
    }
    .regionalAudit_fd2_2{
        margin:0rpx 40rpx 110rpx 40rpx;
    }
    .regionalAudit_fd2_1{
        line-height:45rpx;font-size:32rpx;font-weight:700;color:#000000;margin:0rpx 0rpx 50rpx 0rpx;
    }
    .regionalAudit_fd2_0{
        width:240rpx;height:240rpx;margin:0rpx 0rpx 30rpx 0rpx;
    }
</style>